﻿using System;
using System.Collections.Generic;

namespace CoreProject.Model;

public partial class Role
{
    public int RoleId { get; set; }

    public string RoleName { get; set; } = null!;

    public int DeptId { get; set; }

    public int Type { get; set; }

    public string Remark { get; set; } = null!;

    public DateTime LastTime { get; set; }

    public virtual ICollection<Authority> Authorities { get; set; } = new List<Authority>();

    public virtual Department Dept { get; set; } = null!;

    public virtual ICollection<User> Users { get; set; } = new List<User>();
}
